/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package botlab.control;

import botlab.Game;
import botlab.gui.Notifier;

/**
 *
 * @author Quentin
 */
public class EndTimerControl extends BaseTimerControl
{
    public EndTimerControl(float seconds)
    {
        super(seconds);
    }

    @Override
    protected void timeIsUp()
    {
        Game.getApp().loose();
        java.awt.EventQueue.invokeLater(new Runnable()
        {
            public void run()
            {
                Notifier.getInstance().enterState("timeOut");
            }
        });
    }
    
}
